<template>
	<div class="common-error">
		<p>
			网络请求错误，点击
			<span @click="resend()">
				重试
			</span>
		</p>
	</div>
</template>

<script>
	export default {
		name: 'common-error',
		methods: {
			resend () {
				this.$emit('resendChange')
			}
		}
	}
</script>

<style lang="stylus" scoped>
	.common-error
		height:200px
		text-align:center
	.common-error p
		color:#888
		font-size:28px
		line-height:200px
	.common-error span
		color:#308ee3
		cursor:pointer
</style>
